package com.tmt.om.perspective;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class ContractPerspective implements IPerspectiveFactory {

	@Override
	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		String editorArea = layout.getEditorArea();
        layout.addStandaloneView("navigator.contract", false,IPageLayout.LEFT, 0.25f,
                editorArea);
        IFolderLayout folder2 = layout.createFolder("content", IPageLayout.RIGHT, 0.15f,
        		editorArea);
        folder2.setProperty("standloneview", "true");
//        folder2.addView("sales.overview");
        folder2.addPlaceholder("receivables.view");

	}

}
